home *** CD-ROM | disk | FTP | other *** search
-
- LOCATE Steven Holzner
-
- Purpose: Searches all files in the current and the root directories
- of a drive for all occurrences of any specified sequence (e.g., a
- word or phrase) of up to 20 ASCII characters. Additional search
- paths and/or drives may be specified by using Option 1.
-
- Format: LOCATE searchstring
-
- Remarks: In addition to returning the path(s) and filename(s) of the
- file(s) in which the requested string is found, LOCATE puts
- searchstring into a context of up to 20 immediately surrounding
- characters.
-
- LOCATE.COM is case sensitive; the string to be found must be typed
- exactly. The program does, however, strip "high-order" (non-ASCII)
- bits from searchstring, so it can be used, for example with WordStar
- document files.
-
- Normally, if LOCATE does not find the requested string either in the
- current directory or in the disk's root directory, it simply exits.
- It does not automatically search every subdirectory on every drive.
-
- You can extend the search range, however, by preparing a simple ASCII
- file that specifies additional paths and/or drives. The name of this
- file must be PATH.DAT, and it must be located in the root directory
- (usually C:\ for hard disks, A:\ for floppies). An example of such a
- PATH.DAT file would be
-
- \WORK
- \LEVEL1
- \A:
-
- Each line in the PATH.DAT file must end with a carriage return and
- specifies an additional path (or drive) for LOCATE to check before it
- exits. The PATH.DAT file can be up to 300 bytes in length, and
- incorrectly specified entries are ignored.